﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>在JavaScript中调用事件处理程序</title>
</head>
<body>
<button id="save">点击按钮</button>
</body>
</html>
<script type="text/javascript">
	var btn = document.getElementById("save");
	btn.onclick=function(){
		alert("轻松学习JavaScript事件");	
	}                    
</script>
